home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 424_02 / ED-157 / set_size / posix_size.csh < prev    next >
Text File  |  1994-03-28  |  336b  |  13 lines

  1. if ( ! $?firsttime ) then
  2.     /usr/local/bin/set_size csh        # get the terminal's size
  3.     setenv ROWS 24                    # in case disk full
  4.     setenv COLS 80
  5.     if ( -e set_size.tmp ) then
  6.         source set_size.tmp
  7.         rm set_size.tmp
  8.     endif
  9.     stty rows $ROWS cols $COLS
  10.     setenv firsttime n
  11. endif
  12. alias ed '/usr/local/bin/ed /usr/local/bin/$TERM.ed ~/ed.setup 0 0'
  13.